package com.ibuscloud.union.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;
/**
 * <p>
 * 客票退票数据文件表
 * </p>
 *
 * @author 书瞳
 * @since 2022-12-08
 */
@Data
public class RdExcel implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty(value = "银联订单id", index = 0)
    private String unionpayOrderId;

    @ExcelProperty(value = "客价平台订单号", index =1)
    private String id;

    @ExcelProperty(value = "虚拟卡号", index =2)
    private String cardNo;

    @ExcelProperty(value = "交通出行平台用户id", index =3)
    private String userId;

    @ExcelProperty(value = "运营商id", index =4)
    private String opId;

    @ExcelProperty(value = "运营商名称", index =5)
    private String opName;

    @ExcelProperty(value = "应用名称", index =6)
    private String appId;

    @ExcelProperty(value = "业务id，区分业务场景，公交地铁", index =7)
    private String serviceId;

    @ExcelProperty(value = "支付方式", index =8)
    private String payType;

    @ExcelProperty(value = "原始票价", index =9)
    private String originalPrice;

    @ExcelProperty(value = "购票实付款（即退款金额+手续费）", index =10)
    private String price;

    @ExcelProperty(value = "退款金额（不含手续费，即用户实收金额） 单位（分）", index =11)
    private String refundAmount;

    @ExcelProperty(value = "退款手续费", index =12)
    private String refundFee;

    @ExcelProperty(value = "客票类型编码", index =13)
    private String ticketTypeId;

    @ExcelProperty(value = "客票类型名称", index =14)
    private String ticketTypeName;

    @ExcelProperty(value = "客票票号", index =15)
    private String ticketAccountId;

    @ExcelProperty(value = "有效期开始，格式为：yyyy-MM-dd HH:mm:ss", index =16)
    private String validFrom;

    @ExcelProperty(value = "有效期结束，格式为：yyyy-MM-dd HH:mm:ss", index =17)
    private String validTo;

    @ExcelProperty(value = "退款成功时间，格式为：yyyy-MM-dd HH:mm:ss", index =18)
    private String payTime;

    @ExcelProperty(value = "有效期限", index =19)
    private String period;

    @ExcelProperty(value = "有效期单位 1-分钟 2-小时 3-天 4-周 5-月 6-年", index =20)
    private String periodUnit;

    @ExcelProperty(value = "该类客票总使用次数，0-不限", index =21)
    private String totalUse;

    @ExcelProperty(value = "预留扩展字段", index =22)
    private String extInfo;

    @ExcelProperty(value = "积分兑换票价", index =23)
    private String exchangePrice;


}
